package com.example.emailcraft.utils;

import org.springframework.stereotype.Component;

@Component
public class RoleUtils {

    public static final String USER = "user";
    public static final String VIP = "vip_user";

    public Boolean isVip(String role) {
        return VIP.equals(role);
    }

    public Boolean isUser(String role) {
        return USER.equals(role);
    }

}
